Ext.define('js.store.inner.PeopleManagementListStore', {
    extend: 'Ext.data.Store',
    requires: ['js.Util'],
    alias: 'store.PeopleManagementListStore',
    autoLoad: true,
    fields: [
        'user_id',//用户id
        'user_name',//用户名称
        'department_name',//所属部门
        'department_id',//所属部门id
        'enable',//手机
        'group_name',//角色
        'enable_char',//是否启用
    ],
    remoteSort: true,
    proxy: {
        simpleSortMode: true,
        type: 'ajax',
        url: 'publicUserManagementRoutes',
        extraParams: {
            action_type: 'personQuery'
        },
        actionMethods: {read: 'GET'},
        reader: {root: 'data', totalProperty: 'totalCount',regionCount: 'setArgs'}
    }
});